#ifndef USING_NS_GAME

#define PUZZLEGUESS_DB_FILE "puzzleData.db"
#define USING_NS_GAME using namespace com::belyn::game::puzzleGuess

#define NS_GAME_BEGIN namespace com	\
						{\
							namespace belyn	\
							{ \
							namespace game \
							{ \
							  namespace puzzleGuess \
								{  
						/*{ \  
							namespace belyn \
							{ \
								namespace game \
								{ \
									namespace puzzleGuess \
									{ 
*/

#define NS_GAME_END	}; \
	}; \
	}; \
	};  


#define PUZZLEGUESS_DISTANCE_FACTOR 24
#define PUZZLEGUESS_CELL_DISTANCE_FACTOR 8

#define REF_CREATE_FUNC(__TYPE__) \
static __TYPE__* create() \
{ \
    __TYPE__ *pRet = new __TYPE__(); \
    if (pRet ) \
    { \
        pRet->autorelease(); \
        return pRet; \
    } \
    else \
    { \
        delete pRet; \
        pRet = NULL; \
        return NULL; \
    } \
}

#define PG_DATA com::belyn::game::puzzleGuess::PuzzleGameData::getInstance()

#endif


